﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage_Admin.master" AutoEventWireup="true" CodeFile="GaugeTestList.aspx.cs" Inherits="Admin_Gauge_GaugeTestList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    量表类型管理
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="ht-panel-search">
        <table>
            <tr>
                <%--<td>目录名称：
                </td>
                <td>
                    <asp:TextBox ID="txt_ModularName" runat="server" CssClass="ht-text"></asp:TextBox>
                </td>
                <td>目录编码：
                </td>
                <td>
                    <asp:TextBox ID="txt_ModularCode" runat="server" CssClass="ht-text"></asp:TextBox>
                </td>--%>
                <td>
                    <asp:Button ID="btn_Search" runat="server" Text="查询" CssClass="ht-btn"
                        OnClick="btn_Search_Click" />
                    <asp:Button ID="btn_Add" runat="server" Text="增加" PostBackUrl="GaugeTypeEdit.aspx?Action=Add" CssClass="ht-btn" />
                </td>
            </tr>
        </table>
    </div>
    <div class="ht-panel-grid">
        <asp:Repeater ID="RepeaterList" runat="server"
            OnItemCommand="RepeaterList_ItemCommand"
            OnItemDataBound="RepeaterList_ItemDataBound">
            <HeaderTemplate>
                <table class="ht-grid" border="0" style="margin-top: 10px;">
                    <tr>
                        <th>标题</th>
                        <th style="width:100px">是否禁用</th>
                        <th style="width:100px">操作</th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("Title") %>
                    </td>
                    <td style="text-align: center;">
                        <asp:Label ID="lbl_Valid" runat="server" Text="启用"></asp:Label>
                        <asp:LinkButton ID="lbtn_Valid" runat="server" CommandName="Valid" CommandArgument='<%#Eval("GaugeTypeId") %>'>修改</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtn_Modify" runat="server" CommandName="Modify" CommandArgument='<%#Eval("GaugeTypeId") %>'>编辑</asp:LinkButton>
                        <asp:LinkButton ID="lbtn_Detail" runat="server" CommandName="Detail" CommandArgument='<%#Eval("GaugeTypeId") %>'>查看</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>

        <div class="ht-pager">
            <webdiyer:AspNetPager ID="PaginateCtl" runat="server" OnPageChanged="PaginateCtl_PageChanged" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Footer" runat="Server">
</asp:Content>
